package com.dmagic.cms.service;

import java.util.List;
import java.util.Map;

import com.dmagic.cms.common.exception.ServiceException;
import com.dmagic.cms.common.exception.ValidateException;
import com.dmagic.cms.common.query.PageUtil;
import com.dmagic.cms.entity.SuccessfulCase;

public interface SuccessfulCaseService {

	public void saveSuccessfulCase(SuccessfulCase[] successfulCase) throws ValidateException;

	public void searchSuccessfulCase(PageUtil<Map> pageUtil) throws ServiceException;

	public SuccessfulCase getSuccessfulCase(Long successfulCaseId) throws ServiceException;

	public List<SuccessfulCase> getSuccessfulCaseBySuccessfulCaseNo(String successfulCaseNo)
			throws ServiceException;

	public void deleteSuccessfulCase(List<Long> successfulCaseIds) throws ServiceException;

	public void deleteSuccessfulCase(Long successfulCaseId) throws ServiceException;

	public void changeSuccessfulCaseCategory(List<Long> successfulCaseIds, Long successfulCaseCategoryId)
			throws ServiceException;
}
